package cn.ipanel.bigdata.boot.source

import org.apache.spark.sql.Dataset

/**
 * Author: lzz
 * Date: 2021/11/19 9:24
 */
trait Table extends Db {

  def getTBName: String
  def getTBColumns: Seq[String]
  def buildTable: String
  def emptyTable: Dataset[_]

  override def toString: String = s"$getDBName.$getTBName@${Integer.toHexString(hashCode)}"
}